<?xml version="1.0" encoding="UTF-8"?>
<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd" id="_zK4wwNNtEeKeP6ZnAvCviQ" targetNamespace="http://activiti.org/bpmn">
  <bpmn2:collaboration id="_Collaboration_3">
    <bpmn2:participant id="process-with-sub-process" name="Process with Sub-Process" processRef="processWithSubProcess"/>
  </bpmn2:collaboration>
  <bpmn2:process id="processWithSubProcess" isExecutable="true">
    <bpmn2:startEvent id="StartEvent_1" name="Start Event">
      <bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>
    </bpmn2:startEvent>
    <bpmn2:subProcess id="SubProcess_1" name="Sub Process">
      <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_4</bpmn2:outgoing>
      <bpmn2:multiInstanceLoopCharacteristics>
        <bpmn2:loopCardinality xsi:type="bpmn2:tFormalExpression">10</bpmn2:loopCardinality>
      </bpmn2:multiInstanceLoopCharacteristics>
      <bpmn2:startEvent id="StartEvent_2" name="Start Event">
        <bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing>
      </bpmn2:startEvent>
      <bpmn2:sequenceFlow id="SequenceFlow_2" sourceRef="StartEvent_2" targetRef="UserTask_1"/>
      <bpmn2:userTask id="UserTask_1" name="User Task">
        <bpmn2:incoming>SequenceFlow_2</bpmn2:incoming>
        <bpmn2:outgoing>SequenceFlow_3</bpmn2:outgoing>
        <bpmn2:multiInstanceLoopCharacteristics>
          <bpmn2:loopCardinality xsi:type="bpmn2:tFormalExpression">2</bpmn2:loopCardinality>
        </bpmn2:multiInstanceLoopCharacteristics>
      </bpmn2:userTask>
      <bpmn2:sequenceFlow id="SequenceFlow_3" sourceRef="UserTask_1" targetRef="EndEvent_1"/>
      <bpmn2:endEvent id="EndEvent_1" name="End Event">
        <bpmn2:incoming>SequenceFlow_3</bpmn2:incoming>
      </bpmn2:endEvent>
    </bpmn2:subProcess>
    <bpmn2:sequenceFlow id="SequenceFlow_1" sourceRef="StartEvent_1" targetRef="SubProcess_1"/>
    <bpmn2:endEvent id="EndEvent_2" name="End Event">
      <bpmn2:incoming>SequenceFlow_4</bpmn2:incoming>
    </bpmn2:endEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_4" sourceRef="SubProcess_1" targetRef="EndEvent_2"/>
  </bpmn2:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="_Collaboration_3">
      <bpmndi:BPMNShape id="_BPMNShape_Participant_3" bpmnElement="process-with-sub-process" isHorizontal="true">
        <dc:Bounds height="500.0" width="900.0" x="132.0" y="120.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_17" bpmnElement="StartEvent_1">
        <dc:Bounds height="36.0" width="36.0" x="204.0" y="289.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="22.0" width="70.0" x="187.0" y="330.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_SubProcess_5" bpmnElement="SubProcess_1" isExpanded="true">
        <dc:Bounds height="225.0" width="481.0" x="288.0" y="194.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_StartEvent_17" targetElement="_BPMNShape_SubProcess_5">
        <di:waypoint xsi:type="dc:Point" x="240.0" y="307.0"/>
        <di:waypoint xsi:type="dc:Point" x="270.0" y="307.0"/>
        <di:waypoint xsi:type="dc:Point" x="270.0" y="306.0"/>
        <di:waypoint xsi:type="dc:Point" x="288.0" y="306.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="0.0" width="0.0" x="265.0" y="307.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_18" bpmnElement="StartEvent_2">
        <dc:Bounds height="36.0" width="36.0" x="393.0" y="289.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="22.0" width="70.0" x="376.0" y="330.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_UserTask_5" bpmnElement="UserTask_1">
        <dc:Bounds height="80.0" width="100.0" x="479.0" y="267.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_2" bpmnElement="SequenceFlow_2" sourceElement="_BPMNShape_StartEvent_18" targetElement="_BPMNShape_UserTask_5">
        <di:waypoint xsi:type="dc:Point" x="429.0" y="307.0"/>
        <di:waypoint xsi:type="dc:Point" x="479.0" y="307.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="0.0" width="0.0" x="454.0" y="307.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_EndEvent_19" bpmnElement="EndEvent_1">
        <dc:Bounds height="36.0" width="36.0" x="629.0" y="289.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="22.0" width="65.0" x="615.0" y="330.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_3" bpmnElement="SequenceFlow_3" sourceElement="_BPMNShape_UserTask_5" targetElement="_BPMNShape_EndEvent_19">
        <di:waypoint xsi:type="dc:Point" x="579.0" y="307.0"/>
        <di:waypoint xsi:type="dc:Point" x="629.0" y="307.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="0.0" width="0.0" x="604.0" y="307.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_EndEvent_20" bpmnElement="EndEvent_2">
        <dc:Bounds height="36.0" width="36.0" x="819.0" y="288.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_4" bpmnElement="SequenceFlow_4" sourceElement="_BPMNShape_SubProcess_5" targetElement="_BPMNShape_EndEvent_20">
        <di:waypoint xsi:type="dc:Point" x="768.0" y="306.0"/>
        <di:waypoint xsi:type="dc:Point" x="819.0" y="306.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="0.0" width="0.0" x="794.0" y="306.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn2:definitions>